﻿///****************************************************************************
//**
//*****************************************************************************/

//#ifndef XDASHBOARD_H
//#define XDASHBOARD_H

//#include "xlabel.h"

//class XDashBoardPrivate;
//class XDashBoard : public XLabel
//{
//    Q_OBJECT

//    Q_PROPERTY(XTypeX::DashBoardPointerDirection pointerDirection READ getPointerDirection WRITE setPointerDirection)
//    Q_PROPERTY(int thickness READ getThickness WRITE setThickness)
//    Q_PROPERTY(int mainScaleNum READ getMainScaleNum WRITE setMainScaleNum)
//    Q_PROPERTY(int subScaleNum READ getSubScaleNum WRITE setSubScaleNum)

//    Q_PROPERTY(X::DataBaseFormat dataBaseType READ getDataBaseType WRITE setDataBaseType)
//    Q_PROPERTY(int maximumRange READ getMaximumRange WRITE setMaximumRange)
//    Q_PROPERTY(int minimumRange READ getMinimumRange WRITE setMinimumRange)
//    Q_PROPERTY(int upperDangerousValue READ getUpperDangerousValue WRITE setUpperDangerousValue)
//    Q_PROPERTY(bool upperDVEnable READ getUpperDVEnable WRITE setUpperDVEnable)
//    Q_PROPERTY(int lowerDangerousValue READ getlowerDangerousValue WRITE setlowerDangerousValue)
//    Q_PROPERTY(bool lowerDVEnable READ getLowerDVEnable WRITE setLowerDVEnable)
//    Q_PROPERTY(int upperAlarmValue READ getUpperAlarmValue WRITE setUpperAlarmValue)
//    Q_PROPERTY(bool upperAVEnable READ getUpperAVEnable WRITE setUpperAVEnable)
//    Q_PROPERTY(int lowerALarmValue READ getLowerALarmValue WRITE setLowerALarmValue)
//    Q_PROPERTY(bool lowerAVEnable READ getLowerAVEnable WRITE setLowerAVEnable)

//public:
//    explicit XDashBoard(QWidget *parent = nullptr);
//    ~XDashBoard();

//    /* Property Interface */
//    X::DashBoardPointerDirection getPointerDirection() const;
//    void setPointerDirection(X::DashBoardPointerDirection);

//    int getThickness() const;
//    void setThickness(int);

//    int getMainScaleNum() const;
//    void setMainScaleNum(int);

//    int getSubScaleNum() const;
//    void setSubScaleNum(int);

//    X::DataBaseFormat getDataBaseType() const;
//    void setDataBaseType(X::DataBaseFormat);

//    int getMaximumRange() const;
//    void setMaximumRange(int);

//    int getMinimumRange() const;
//    void setMinimumRange(int);

//    int getUpperDangerousValue() const;
//    void setUpperDangerousValue(int);

//    bool getUpperDVEnable() const;
//    void setUpperDVEnable(bool);

//    int getlowerDangerousValue() const;
//    void setlowerDangerousValue(int);

//    bool getLowerDVEnable() const;
//    void setLowerDVEnable(bool);

//    int getUpperAlarmValue() const;
//    void setUpperAlarmValue(int);

//    bool getUpperAVEnable() const;
//    void setUpperAVEnable(bool);

//    int getLowerALarmValue() const;
//    void setLowerALarmValue(int);

//    bool getLowerAVEnable() const;
//    void setLowerAVEnable(bool);

//private:
//    Q_DISABLE_COPY(XDashBoard)
//    XDashBoardPrivate *d;
//};

//#endif // XDASHBOARD_H
